package leetcode;

public class Lc172 {

    public static void main(String[] args) {

        long n = 20;
        long ans = 1;
        for (int i = 1; i <= n; i++) {
            ans *= i;
        }
        System.out.println(ans);

        ans = 1;
        for (int i = 21; i <= 30 ; i++) {
            ans *= i;
        }
        System.out.println(ans);


        System.out.println(5*5);
        System.out.println(5*5*5);
        System.out.println(5*5*5*5);
        System.out.println(5*5*5*5*5);
        System.out.println(5*5*5*5*5*5);
        System.out.println(5*5*5*5*5*5*5);
    }


}
